import { Module } from '@nestjs/common';
import { CartController } from './controller/cart.controller';
import { CartService } from './service/cart.service';
import { ProductModule } from 'src/product/product.module';

@Module({
  imports: [ProductModule], // 关键：导入共享模块
  controllers: [CartController],
  providers: [CartService],
})
export class CartModule {}